import server from './http.js' //导入axios

// 订单 的接口

const OrderAll = (model) => {
    let data = server.post('/user/order/getOrder', model)
    return data
}
//去结算
const Confirm = (model) => {
    let data = server.post('/user/order/addOrder', model)
    return data
}


export { OrderAll, Confirm }
